<?php

include 'fireoauth.php';

$oauth = new fireoauth();
if (!$oauth->isAuthorized()){
    $code = $oauth->authorize();
}